/**
 * @Title: PointParaDO
 * @Package cn.com.yiqi.wsc.service.sysparams.dataobject
 * @Description: TODO
 * Copyright: Copyright (c) 2016
 * Company: 成都壹柒互动科技有限公司
 * @author 会员系统组-林威
 * @date 2017/3/9 10:24
 * @version V1.0
 */
package cn.com.yiqi.wsc.Ro;
import java.math.BigDecimal;

/**
 *
 *@ClassName: PointParaDO
 * Description: TODO
 * @author 会员系统组-林威
 * @date 2017/3/9 10:24
 *
 */
public class PointParaDO {
    /**
     * 1积分可以兑换多少金额(数据库字段)
     * */
    private BigDecimal pointScale;

    /** 一元可以换多少积分*/
    private Integer point2balanceScale;

    private Integer Point2balanceTimes;
    private Integer Point2balanceMin;
    private Integer Point2balancePerMax;
    private Integer Point2balanceTotalMax;
    /**额外申请最小值*/
    private Integer Point2balanceExtraMin;
    private Integer pointTotalUnit;
    private Integer pointTimeUnit;

    public Integer getPointTotalUnit() {
        return pointTotalUnit;
    }

    public void setPointTotalUnit(Integer pointTotalUnit) {
        this.pointTotalUnit = pointTotalUnit;
    }

    public Integer getPointTimeUnit() {
        return pointTimeUnit;
    }

    public void setPointTimeUnit(Integer pointTimeUnit) {
        this.pointTimeUnit = pointTimeUnit;
    }

    public BigDecimal getPointScale() {
        return pointScale;
    }

    public void setPointScale(BigDecimal pointScale) {
        this.pointScale = pointScale;
    }

    public Integer getPoint2balanceExtraMin() {
        return Point2balanceExtraMin;
    }

    public void setPoint2balanceExtraMin(Integer point2balanceExtraMin) {
        Point2balanceExtraMin = point2balanceExtraMin;
    }

    public Integer getPoint2balanceTimes() {
        return Point2balanceTimes;
    }

    public void setPoint2balanceTimes(Integer point2balanceTimes) {
        Point2balanceTimes = point2balanceTimes;
    }

    public Integer getPoint2balanceMin() {
        return Point2balanceMin;
    }

    public void setPoint2balanceMin(Integer point2balanceMin) {
        Point2balanceMin = point2balanceMin;
    }

    public Integer getPoint2balancePerMax() {
        return Point2balancePerMax;
    }

    public void setPoint2balancePerMax(Integer point2balancePerMax) {
        Point2balancePerMax = point2balancePerMax;
    }

    public Integer getPoint2balanceTotalMax() {
        return Point2balanceTotalMax;
    }

    public void setPoint2balanceTotalMax(Integer point2balanceTotalMax) {
        Point2balanceTotalMax = point2balanceTotalMax;
    }

    public void init() {
        point2balanceScale = (BigDecimal.ONE.divide(pointScale)).intValue();
    }

    public Integer getPoint2balanceScale() {
        return point2balanceScale;
    }

    public void setPoint2balanceScale(Integer point2balanceScale) {
        this.point2balanceScale = point2balanceScale;
    }
}
